package main

import "fmt"

const (
	A, B = iota, iota + 1
	C, D = iota, iota + 1
)

func main() {
	const E = iota
	fmt.Println(A, B, C, D, E) //0 1 1 2 0
}
